# 普通 API 测试模块 Dockerfile，使用 JDK 17，无 Playwright，无浏览器
FROM eclipse-temurin:17-jre

ARG TZ=Asia/Shanghai
ENV TZ=$TZ
WORKDIR /app

COPY src/main/resources/application.yaml /app/application.yaml
COPY target/easy-autotest-api.jar /app/easy-autotest-api.jar

ENTRYPOINT ["java", "-jar", "easy-autotest-api.jar"]

RUN chmod +x /app/easy-autotest-api.jar